package org.csu.corp.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
    public final static String DATE_FORMATER_Y_M = "yyyy-MM";

    public static String getCurrentYearMonthString(){
        Date curDate = new Date();

        return new SimpleDateFormat(DATE_FORMATER_Y_M).format(curDate);
    }

    public static Long getCurrentTimeStamp() {
        Date curDate = new Date();
        return curDate.getTime();
    }
}
